(reset-language-environment): Put
authorKenichi Handa <handa@m17n.org>
Tue, 7 Jul 2009 06:27:53 +0000 (06:27 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 7 Jul 2009 06:27:53 +0000 (06:27 +0000)
the highset priority to the charset iso-8859-1.

lisp/international/mule-cmds.el

index 34d4fb3830d252482cec5ad4cb3d6c76b971c7d8..e67c8ea5e5c98e8a315c9e656539e01f5c006fdb 100644 (file)
@@ -1795,6 +1795,12 @@ The default status is as follows:
     (setq default-process-coding-system
          (cons output-coding input-coding)))
 
+  ;; Put the highest priority to the charset iso-8859-1 to prefer the
+  ;; registry iso8859-1 over iso8859-2 in font selection.  It also
+  ;; makes unibyte-display-via-language-environment to use iso-8859-1
+  ;; as the unibyte charset.
+  (set-charset-priority 'iso-8859-1)
+
   ;; Don't alter the terminal and keyboard coding systems here.
   ;; The terminal still supports the same coding system
   ;; that it supported a minute ago.